package com.langsin.StackDemo;
/**
@Auther: MFM
@Date: 2021/7/16 - 07 - 16 - 20:57 
@version: 1.0
*/

public class Main {
    public static void main(String[] args) {
        ArrayStack<Integer> arrayStack = new ArrayStack<>();
        for (int i = 0; i < 10; i++) {
            arrayStack.push(i);
        }
        System.out.println(arrayStack);

        arrayStack.push(3);

        System.out.println(arrayStack);
    }
}
